package object;

public class Demo1 {
    public static void main(String[] args) {
        Demo phone = new Demo();
        phone.band = "华为";
        phone.price = 1999.99;
        System.out.println(phone.getYear());
        //phone.year = 2020

        phone.play(2025);
        System.out.println(phone.getYear());
    }
}
